#!/usr/bin/env node

const fs=require('fs'),
      dir=process.argv[2];
try{

  console.log(fs.readdirSync(dir));
}catch(e){
  console.log(e.message);
}

